package com.erp.bean;

/**
 * @author mtf
 * 商品类型实体类
 */
public class CommodityType {

    /**
     * 商品类型编号
     */
    private int tyid;

    /**
     * 商品类型名称
     */
    private String tyname;

    @Override
    public String toString() {
        return "CommodityType{" +
                "tyid=" + tyid +
                ", tyname='" + tyname + '\'' +
                '}';
    }

    public CommodityType() {
    }

    public CommodityType(int tyid, String tyname) {
        this.tyid = tyid;
        this.tyname = tyname;
    }

    public int getTyid() {
        return tyid;
    }

    public void setTyid(int tyid) {
        this.tyid = tyid;
    }

    public String getTyname() {
        return tyname;
    }

    public void setTyname(String tyname) {
        this.tyname = tyname;
    }
}
